<?
function cURL($url) {
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_TIMEOUT, 0);
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_HEADER, 0); 
	curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
	$result = curl_exec($ch); 
	curl_close($ch); 
	return $result; 
}
$content = cURL("http://www.4shared.com/audio/".$_GET['link']."/".$_GET['link1'].".html");
$link=explode("'file=",$content);
$link1=explode('&volume',$link[1]);
header("Location: ".urldecode($link1[0]));
?>